/**
 * 
 */
package com.orange.cepmanager;

import javax.jws.WebService;

/**
 * @author GQXG9096
 *
 */
@WebService
public interface CEPManager {
	
	public String addRule(String token, String idTel, String name, String rule);

	public void addRule2Phone(String idTel, String name, String rule);

	public String deleteRule(String token, String idTel, String name);

	public String updateRule(String token, String idTel, String name,
			String rule);

	public String stopEngine(String token, String idTel);

	public String startEngine(String token, String idTel);

	public String[] getAllIDs();

	public String[] getRulesFromPhone(String idTel);

	public void addPhone(String name, String idTel, String status);

	public void removePhone(String idTel);

	public String getStatus(String idTel);

	public void setStatus(String idTel, String status);

	public String getNameFromID(String idTel);

}
